package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 大便观察
 * </p>
 *
 * @author 冯政尚
 * @since 2018-10-13
 */
@TableName("shit")
public class Shit extends Model<Shit> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Long id;
    /**
     * 大便时间
     */
	@TableField("shitTime")
	private Long shitTime;
    /**
     * 大便色状
     */
	@TableField("shitChromatic")
	private String shitChromatic;
    /**
     * 关联妈妈id
     */
	private Long mid;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getShitTime() {
		return shitTime;
	}

	public void setShitTime(Long shitTime) {
		this.shitTime = shitTime;
	}

	public String getShitChromatic() {
		return shitChromatic;
	}

	public void setShitChromatic(String shitChromatic) {
		this.shitChromatic = shitChromatic;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Shit{" +
			"id=" + id +
			", shitTime=" + shitTime +
			", shitChromatic=" + shitChromatic +
			", mid=" + mid +
			"}";
	}
}
